From: Florian Müllner Date: Sat, 11 Feb 2023 12:35:20 +0000 (+0100) Subject: quickSettings: Fix MenuToggle clicks X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~405^2^2~37 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=64962508e995b4f787e0da3643963df538119405;p=gnome-shell.git quickSettings: Fix MenuToggle clicks With the split menu toggle, the actual clicks now happen on the internal quick toggle, not the menu toggle as a whole where callers expect it. Forward the signal to fix that. Part-of: --- diff --git a/js/ui/quickSettings.js b/js/ui/quickSettings.js index f0a737e41..ef8d06e51 100644 --- a/js/ui/quickSettings.js +++ b/js/ui/quickSettings.js @@ -206,6 +206,7 @@ var QuickMenuToggle = GObject.registerClass({ this.bind_property('checked', this._menuButton, 'checked', GObject.BindingFlags.SYNC_CREATE); + contents.connect('clicked', (o, button) => this.emit('clicked', button)); this._menuButton.connect('clicked', () => this.menu.open()); this._menuButton.connect('popup-menu', () => this.emit('popup-menu')); contents.connect('popup-menu', () => this.emit('popup-menu'));